package cc;

public enum ToolMaterail {
    WOOD("wood",32,0.3f),
    STONE("stone",48,0.5f),
    IRON("iron",64,0.7f);

    private String displayName;
    private int durability;
    private float miningSpeed;
    ToolMaterail(String displayName, int durability, float miningSpeed) {
        this.displayName = displayName;
        this.durability = durability;
        this.miningSpeed = miningSpeed;
    }

    public String getDisplayName() {
        return displayName;
    }

    public int getDurability() {
        return durability;
    }

    public float getMiningSpeed() {
        return miningSpeed;
    }
}
